<template>
    <div class="tbDatePicker">
        <div class="inlineBlock">
            <el-date-picker
                v-model="timeStart"
                type="datetime"
                placeholder="选择开始日期"
                @change="changeTimeStart">
            </el-date-picker>
        </div>
        <div class="inlineBlock">
            <el-date-picker
                v-model= "timeEnd"
                type= "datetime"
                placeholder= "选择结束日期">
            </el-date-picker>
        </div>
    </div>
</template>

<script>
import bus from '../bus.js';

export default {
    data(){
        return {
            timeStart: null,
            timeEnd: null,
        }
    },
    methods: {
        changeTimeStart() {
            
        }
    }
}
</script>

<style scoped>
    .tbDatePicker {
        /* border: 1px solid red; */
    }
    .tbDatePicker .inlineBlock {
        display: inline-block;
        margin-right: 10px;
    }
</style>